package ui.activity.profit.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.profit.biz.HistoricalIncomeBiz;
import ui.activity.profit.contract.HistoricalIncomeContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class HistoricalIncomeModule {
    private HistoricalIncomeContract.View view;

    public HistoricalIncomeModule(HistoricalIncomeContract.View view) {
        this.view = view;
    }

    @Provides
    public HistoricalIncomeContract.View provideView() {
        return view;
    }

    @Provides
    public HistoricalIncomeBiz provideBiz() {
        return new HistoricalIncomeBiz();
    }
}